#include<stdio.h>
#include<stdlib.h>
#include<string.h>

int main(int argc,char **argv){
    if (argc < 2)
    {
        fprintf(stderr,"Usage: %s filename\n",argv[0]);
        exit(0);
    }
    char *str="曾经沧海难为水";
    FILE *fp;
    fp = fopen(argv[1],"w");
    if (fp == NULL)
    {
        perror("fopen()");
        exit(1);
    }
    int ret = fseek(fp,102400000000,SEEK_SET);
    if (ret == -1)
    {
        fclose(fp);
        fprintf(stderr,"make hole file error!");
        exit(1);
    }
    printf("%d",strlen(str));
    fwrite(str,1,sizeof(str),fp);   
    fclose(fp);
    exit(0);
}